package com.um.springboot.starter.entity.dto;

import com.um.springboot.starter.orm.entity.BaseDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
@Data
public class PageQuery extends BaseDTO {
    @ApiModelProperty(value = "页码", required = true, example = "1")
    @NotNull
    private int page_no;

    @ApiModelProperty(value = "数量", required = true, example = "10")
    @NotNull
    private int page_size;

}
